<include file="Public:header" />
        <div class="mainbox">
        	<br/><br/>
      		<h1>添加安全检查单位</h1>
         
            <br/> <br/><br/>
        	
            <form class="form-horizontal" action="{:U('Admin/Check/save')}" method="POST">
             <br/> <br/>
              <div class="form-group" style="height:40px;">
                <label for="inputEmail3" class="col-sm-3 control-label"><span style="color:#F00">*</span>检查单位名称:</label>
                <div class="col-sm-8">
                  <select name="room_id" style="width: 100%;" class="form-control">
                      <foreach name="roominfo" item="val" key="k">
                          <option value="{$val['room_id']}">
                              {$val.room_name}
                          </option>
                      </foreach>
                  </select>
                </div>
              </div>
              <div class="form-group">
                <label for="inputEmail3" class="col-sm-3 control-label"><span style="color:#F00">*</span>检查内容:</label>
                <div class="col-sm-8">
                  <input type="text" class="form-control"    name="check_content">
                </div>
              </div>
              
              
              
             <div class="form-group" style="line-height:55px;">
            <label for="inputEmail3" class="col-sm-3 control-label"><span style="color:#F00">*</span>检查时间:
            </label>
            <div class="col-sm-4" style="margin-left:19px;margin-top: 20px;">
                <input type="text" value="{$now}" name="check_time" placeholder="结束时间" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss' })">
            </div>
          </div>
              
             
			 <br/>
            <button type="submit" class="btn btn-info btn-lg" style="margin-left:50px;" onclick="window.location.href=">
             	<span  aria-hidden="true"></span>确认提交检查并邮件通知
             </button> <br/><br/>
             
             
            </form>
   
    		<!-- 2 加载jQuery库，同时加载该库必须在加载bootstrap.min.js之前  -->
			<script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
            <!-- 3 加载bootstrap核心 -->
            <script src="<?php echo ADMIN_JS_URL ;?>bootstrap.min.js"></script>
</body>
</html>
